<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
</body>
<script>
  let hd = `
    <span>
    houdunren @#!$
    awdkmmz
</span>
  `
  //  \d\D 相当于匹配所有字符 其他用法类似 \s\S
  alert(hd.match(/<span>[\d\D]+<\/span>/))//全部匹配上
  /*
  *  <span>
    houdunren @#!$
    awdkmmz
</span>
  * */
</script>
</html>